<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
        <title></title>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">

         <!--app-->
        <link rel="stylesheet" href="css/fonts/font-awesome.min.css">
        <link rel="stylesheet" href="css/ui-box.css">
        <link rel="stylesheet" href="css/ui-base.css">
        <link rel="stylesheet" href="css/ui-color.css">
        <link rel="stylesheet" href="css/appcan.icon.css">
        <link rel="stylesheet" href="css/appcan.control.css">
        <link rel="stylesheet" href="css_sdk/css/main.css">
        <link rel="stylesheet" href="test_content/css/usearch.css">

        <style>
            .am-header-default {
                background-color: #eb1111;
            }
            .bc-btn {
                background-color: #eb1111;
            }
            .logo {
                background-image: url('images/logo.png');
            }
            .umhw1 {
                min-height: 9.16em;
                min-width: 13.5em;
            }
            
            .umar-a {
                margin: 1em;
            }
            .bc-head {
                background-color: #eb1111;
            }
            .sc-bg-active {
                background-color: #FFFFFF;
            }
            .bc-border-2 {
                border-color: #FFFFFF;
            }
        </style>

		<script type="text/javascript" src="js/jquery-1.8.3.min.js"></script>
		<script type="text/javascript">
                    var loginID=localStorage.getItem("user");
			$(document).ready(function(){
                            var retData;
                            $.ajax({
				type: 'POST',
				async:false,
				url: "http://101.200.158.44:80/CosmeticSunyuxiWebService/services/CaigouManageWebService/OrderListInit" ,
				data: {"ID":loginID},
				success: function(data){
					retData=data;
				},
				dataType: "json",
			});
				var htm="<ul>";

				$.each(retData[0]["userList"],function(idx,item){

                                var imageHtml="";
                                if(item.f3=='金卡会员'){
                                      imageHtml= "<div class='lv_title sc-text'><image src='images/vip1.png' style='width:2em'></div> </li>";
                                }else{
                                     imageHtml= "<div class='lv_title sc-text'><image src='images/vip2.png' style='width:2em'></div> </li>";
                                }
                                    
				var ht="<li class='ubb ub bc-border bc-text ub-ac lis ulev-1' data-index='0' onclick=getRetUid('"+item.f1+"','"+item.f4+"')>"+
                                "<div class='lv_title  marg-l ub ub-ver ut-m line1 ' style='width:70%'>"+item.f2+"</div>"+
                                "<div class='lv_title ub-f1 marg-l ub ub-ver ut-m line1'  ></div>"+
                                imageHtml+
                                 "</li>";
				htm=htm+ht;
                                
				})
				htm=htm+"</ul>";
				$("#listview1").html(htm);
			});

			function getRetUid(uid,uname){
				sessionStorage["user"]=uid;
				sessionStorage["role"]=uname;
				window.location.href="self_user.html";
			}

		</script>


</head>


<body class="um-vp bc-bg" >

        <div id="page_0" class="up ub ub-ver" tabindex="0">
            
         <div id="header" class="uh bc-text-head ub bc-head">
               <div class="nav-btn" id="nav-left" onclick="javascript:history.go(-1)">
                    <div class="fa fa-angle-left fa-2x"></div>
                </div>
                <h1 class="ut ub-f1 ulev-3 ut-s tx-c" tabindex="0">会员列表</h1>
                <div class="nav-btn nav-bt" id="nav-right"></div>
        </div>
            
            <!--
            <div class="ub ub-ver">
            <div class="umar-a1">
                <div class="sc-bg-active uinput ub ub-f1 bc-border-2  uba">
                    <div class="uinn fa fa-search sc-text"></div>
                    <input placeholder="检索会员" type="text" class="ub-f1">
                </div>
            </div>
        </div>-->

        <div class="ub ub-ver c-wh  uinn-a7" id="listview1">
		<!--
            <ul>
                <li class="ubb ub bc-border bc-text ub-ac lis ulev-1" data-index="0">
                    <div class="lv_title  marg-l ub ub-ver ut-m line1 " style="width:40%">徐伟</div>
                    <div class="lv_title ub-f1 marg-l ub ub-ver ut-m line1"  >SD873648758</div>
                    <div class="ulev2 sc-text"><img src="images/vip2.png" style="width:1.8em;height: 1.2em"></div>
                </li>
                <li class="ubb ub bc-border bc-text ub-ac lis ulev-1" data-index="0">
                    <div class="lv_title  marg-l ub ub-ver ut-m line1 " style="width:40%">李建平</div>
                    <div class="lv_title ub-f1 marg-l ub ub-ver ut-m line1"  >SD873648758</div>
                    <div class="ulev2 sc-text"><img src="images/vip1.png" style="width:1.8em;height: 1.2em"></div>
                </li>
                <li class="ubb ub bc-border bc-text ub-ac lis ulev-1" data-index="0">
                    <div class="lv_title  marg-l ub ub-ver ut-m line1 " style="width:40%">邵宝康</div>
                    <div class="lv_title ub-f1 marg-l ub ub-ver ut-m line1"  >SD873648758</div>
                    <div class="ulev2 sc-text"><img src="images/vip1.png" style="width:1.8em;height: 1.2em"></div>
                </li>
                 
                
            </ul>
-->
        </div>
  
        </div>
    <script>
        function click_sub(){
            window.location.href="home.html";
        }
    </script>

</body>
</html>
